package com.wendu.代理模式.Impl;

import com.wendu.代理模式.Invitor;

public class Secretary implements Invitor {
    public Invitor target;

    public Secretary(Invitor target) {
        this.target = target;
    }

    @Override
    public void invite() {
        System.out.println("大家好");
        target.invite();
        System.out.println("大家再见");
    }
}
